﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/PageStyle.css" rel="Stylesheet" type="text/css" />
</head>
<body style="text-align: center;">
    <form id="form1" runat="server">
    <div style="height: 99%">
        <iframe src="RootMenu.aspx" style="width: 95%; height: 63px;" frameborder="0" scrolling="no">
        </iframe>
        <iframe id="ifrMain" name="myFrMain" src="<%=GetFirstRoot() %>" style="width: 95%;"
            frameborder="0" scrolling="auto"></iframe>
        <iframe src="BottomPage.aspx" style="width: 95%; height: 20px;" frameborder="0" scrolling="no">
        </iframe>
    </div>
    </form>
</body>
</html>

<script type="text/jscript">
    var s = document.documentElement.clientHeight - 86 + "px";
    var iframe = document.getElementById("ifrMain");
    if (iframe.style.height < s) {
        iframe.style.height = s;
    }
</script>

